<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>打印生产流程单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<STYLE type=text/css>
	BODY {
		TEXT-ALIGN: center;
	}
	TABLE {
		BORDER-BOTTOM: black 2px solid; TEXT-ALIGN: center; BORDER-LEFT: black 2px solid; WIDTH: 980px; BORDER-COLLAPSE: collapse; HEIGHT: 600px; FONT-SIZE: small; BORDER-TOP: black 2px solid; BORDER-RIGHT: black 2px solid;
	}
	TD {
		BORDER-BOTTOM: black 2px solid; BORDER-LEFT: black 2px solid; BORDER-TOP: black 2px solid; BORDER-RIGHT: black 2px solid;
	}
	.center {
		TEXT-ALIGN: center;
	}
	.left {
		TEXT-ALIGN: left;
	}
	.size1 {
		WIDTH: 60px;
	}
	.size2 {
		WIDTH: 100px;
	}
	</STYLE>
  </head>
  
  <body>
    <TABLE>
  		<TBODY>
  			<TR>
    			<TD colSpan=12>生产流程单</TD>
    		</TR>
 			<TR>
    			<TD class=size1>客户名称</TD>
   				<TD colSpan=2 class=size1>${produceView.client }</TD>
    			<TD>工厂序号</TD>
   		 		<TD colSpan=2 class=size1>${produceView.factory_series }</TD>
    			<TD>订单号</TD>
    			<TD colSpan=2 class=size1>${produceView.order_id }</TD>
   	 			<TD colSpan=1>下单日期</TD>
    			<TD class=size1 colSpan=2>${produceView.order_date }</TD>
    		</TR>
  			<TR>
   				<TD>楦型</TD>
    			<TD colSpan=2>${produceView.model_id }</TD>
    			<TD>材质颜色</TD>
    			<TD colSpan=2>${produceView.product_color }</TD>
    			<TD>款号</TD>
    			<TD class=size1 colspan="2">${produceView.style_id }</TD>
    			<TD colSpan=1>出货日期</TD>
    			<TD class=size1 colspan="2">${produceView.delivery_date }</TD>
    		</TR>
  			<TR>
    			<TD rowSpan=2>码数</TD>
    			<TD class=size1>215</TD>
    			<TD class=size1>220</TD>
    			<TD class=size1>225</TD>
    			<TD class=size1>230</TD>
    			<TD class=size1>235</TD>
    			<TD class=size1>240</TD>
    			<TD class=size1>245</TD>
    			<TD class=size1>250</TD>
    			<TD rowSpan=2>合计</TD>
    			<TD rowSpan=2 colspan=2>客户编码</TD>
    		</TR>
  			<TR>
    			<TD class=size1>33</TD>
    			<TD class=size1>34</TD>
    			<TD class=size1>35</TD>
    			<TD class=size1>36</TD>
    			<TD class=size1>37</TD>
    			<TD class=size1>38</TD>
    			<TD class=size1>39</TD>
    			<TD class=size1>40</TD>
    		</TR>
  			<TR>
    			<TD>配码</TD>
    			<TD class=size1>${cutting.size_33 }</TD>
    			<TD class=size1>${cutting.size_34 }</TD>
    			<TD class=size1>${cutting.size_35 }</TD>
    			<TD class=size1>${cutting.size_36 }</TD>
    			<TD class=size1>${cutting.size_37 }</TD>
    			<TD class=size1>${cutting.size_38 }</TD>
    			<TD class=size1>${cutting.size_39 }</TD>
    			<TD class=size1>${cutting.size_40 }</TD>
    			<TD class=size1>${total }</TD>
    			<TD class=size1 colspan="1">&nbsp;</TD>
    		</TR>
    		<TR>
    			<TD>防水台</TD>
    			<TD class=size1 colspan="${w[0] }">小</TD>
    			<TD class=size1 colspan="${w[1] }">中</TD>
    			<TD class=size1 colspan="${w[2] }">大</TD>
    			<TD class=size1 colspan="2">&nbsp;</TD>
    		</TR>
    		<TR>
    			<TD>内增高</TD>
    			<TD class=size1 colspan="${i[0] }">小</TD>
    			<TD class=size1 colspan="${i[1] }">中</TD>
    			<TD class=size1 colspan="${i[2] }">大</TD>
    			<TD class=size1 colspan="2">&nbsp;</TD>
    		</TR>
    		<TR>
    			<TD>跟</TD>
    			<TD class=size1 colspan="${h[0] }">小</TD>
    			<TD class=size1 colspan="${h[1] }">中</TD>
    			<TD class=size1 colspan="${h[2] }">大</TD>
    			<TD class=size1 colspan="2">&nbsp;</TD>
    		</TR>
  			<TR>
    			<TD>面料1</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[0] }</TD>
    			<TD>大底</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[1] }</TD>
    			<TD colSpan=3>打码</TD>
    			<TD class=size1>开料</TD>
    			<TD colSpan=2></TD>
    		</TR>
  			<TR>
    			<TD>面料2</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[2] }</TD>
    			<TD>包中底</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[3] }</TD>
    			<TD rowSpan=2 colSpan=3>&nbsp;</TD>
    			<TD class=size1>面料</TD>
    			<TD colSpan=2></TD>
    		</TR>
  			<TR>
    			<TD>内里</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[4] }</TD>
    			<TD>防水台</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[5] }</TD>
    			<TD class=size1 colSpan=1>底部</TD>
    			<TD colSpan=2></TD>
    		</TR>
  			<TR>
    			<TD>垫脚</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[6] }</TD>
    			<TD>包跟</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[7] }</TD>
    			<TD>商标</TD>
    			<TD colSpan=2></TD>
    			<TD class=size1>包装</TD>
    			<TD colSpan=2></TD>
    		</TR>
  			<TR>
    			<TD>饰扣</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[8] }</TD>
    			<TD>包嘴</TD>
    			<TD colSpan=2 style="font-size:10px;">${material_name_list[9] }</TD>
    			<TD>包装</TD>
    			<TD colSpan=2></TD>
    			<TD class=size1>出货</TD>
    			<TD colSpan=2></TD>
    		</TR>
    		
  			<TR>
   				<TD colSpan=12 align=left><div style="float:left;width:28px;">&nbsp;</div>备注：</TD>
   			</TR>
   		</TBODY>
   	</TABLE>
  </body>
</html>
